.wrap {
  width: 750px;
  min-height: 100vh;
}
.container {
  @extend .wrap;
  box-sizing: border-box;
  background-position: center;
  background: #27419a;
  position: relative;
  padding-bottom: 250px;
  width: 100%;
  img {
    width: 100%;
  }
  .back {
    width: 120px;
    height: 120px;
    background-image: url("/assets/images/qixi/通用返回@2x.png");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 16px;
    left: 16px;
  }
  .btn {
    width: 99px;
    height: 85px;
    position: absolute;
    right: 0px;
    color: white;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    padding: 18px 14px;
    text-align: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .btn1 {
    top: 237px;
    background-image: url("/assets/images/qixi/奖励@2x.png");
  }
  .btn2 {
    top: 400px;
    background-image: url("/assets/images/qixi/说明@2x.png");
  }
  .date {
    font-weight: 400;
    font-size: 34px;
    color: #feffff;
    line-height: 115px;
    text-align: center;
    position: absolute;
    top: 1068px;
    width: 100%;
    line-height: 34px;
  }
  .btn_box {
    position: absolute;
    top: 1161px;
    display: flex;
    width: 100%;

    .btn_switch {
      height: 120px;
      background-size: contain;
      background-repeat: no-repeat;
    }
    .btn_left {
      background-image: url("/assets/images/qixi/甜蜜来袭未选中@2x.png");
      background-size: 90%;
      background-position: right;
      flex: 1;
    }

    .btn_left_select {
      width: 55%;
      background-image: url("/assets/images/qixi/甜蜜来袭选中@2x.png");
    }
    .btn_right {
      background-image: url("/assets/images/qixi/爱情告白未选中@2x.png");
      background-size: 90%;
      background-position: left;
      flex: 1;
    }
    .btn_right_select {
      width: 55%;
      background-image: url("/assets/images/qixi/爱情告白选中@2x.png");
    }
  }
  .content_wrap {
    padding: 20px 27px;
    background: linear-gradient(
      to bottom,
      #6660a2 0%,
      #625bab 10%,
      #27419a 100%
    );
    padding-top: 60px;
    .gift {
      top: 0;
      width: 100%;
      position: relative;
      img {
        width: 100%;
        z-index: 1;
      }
      .gaobai {
        width: 300px;
        height: 100px;
        position: absolute;
        bottom: 30px;
        left: 200px;
      }
      .flower_left {
        width: 157px;
        height: 486px;
        position: absolute;
        top: 154px;
        left: -20px;
      }
      .flower_right {
        width: 80px;
        height: 486px;
        position: absolute;
        top: 620px;
        right: -20px;
      }
      .bird {
        width: 90px;
        height: 88px;
        position: absolute;
        top: 160px;
        right: -20px;
      }
    }
  }

  .rank_container {
    width: 100%;
    height: 1204px;
    padding: 30px 0;
    position: relative;
    background-image: url("/assets/images/qixi/rankBg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 100px;
    position: relative;

    .title_box {
      width: 334px;
      height: 90px;
      position: absolute;
      top: -45px;
      left: 51%;
      transform: translateX(-50%);
    }

    .rank_box {
      width: 100%;
      max-height: 1110px;
      overflow-y: auto;
      margin-top: 44px;
      padding-top: 20px;
      padding: 0 28px;

      .rank_list {
        width: 100%;
      }
      .title {
        font-weight: bold;
        font-size: 56px;
        color: #64a4ac;
        line-height: 36px;
        text-align: center;
      }

      .td_box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 60px;

        .rank {
          width: 360px;
          font-weight: 600;
          font-size: 36px;
          color: #aba1f2;
          line-height: 36px;
          width: 60px;
          margin-right: 24px;
          text-align: center;
          > img {
            width: 45px;
            height: 69px;
          }
        }
        .user {
          flex: 1;
          display: flex;
          align-items: center;
          > img {
            width: 96px;
            height: 96px;
            border-radius: 50%;
            background: white;
            margin-right: 19px;
          }

          color: #feffff;

          .nickname {
            max-width: 300px;
            font-size: 28px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-weight: 400;
            line-height: 36px;
          }
          .score {
            font-size: 24px;
            opacity: 0.6;
          }
        }
        .rankBtn {
          min-width: 96px;
          height: 48px;
          background: linear-gradient(0deg, #ffd4f8 18%, #ff94e8 100%);
          border-radius: 12px;
          font-weight: 400;
          font-size: 22px;
          color: #e014b5;
          line-height: 22px;
          text-align: center;
          padding: 12px 14px 16px;
        }
        .rankBtn_blue {
          min-width: 96px;
          height: 48px;
          background: linear-gradient(0deg, #7a8aff 0%, #366ffa 100%);
          border-radius: 12px;
          font-size: 22px;
          color: #ffffff;
          line-height: 22px;
          opacity: 0.6;
          text-align: center;
          padding: 12px 14px 16px;
        }
      }

      .image {
        width: 200px;
        position: absolute;
        right: 10px;
        bottom: 0;
      }
    }
  }

  .user_box {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 40px 40px 0 0;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 250px;
    background-position: bottom;
    z-index: 1;
    .user_content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 50px;
      position: absolute;
      bottom: 0;
      width: 100%;
    }

    .my_rank_desc {
      font-weight: 400;
      font-size: 28px;
      color: #ffffff;
      line-height: 36px;
      text-align: center;
    }
    .my_rank_index {
      font-weight: 400;
      font-size: 32px;
      color: #ffd5ee;
      line-height: 36px;
    }
    .my_rank_num {
      font-weight: 400;
      font-size: 32px;
      color: #ffe660;
      line-height: 36px;
      text-align: center;
      margin-top: 14px;
    }

    .user {
      flex: 1;
      text-align: center;
      margin: 0 40px;

      img {
        width: 96px;
        height: 96px;
        background: #625bab;
        border-radius: 50%;
        margin-right: 13px;
      }
      font-weight: 400;
      font-size: 30px;
      color: #ffffff;
      line-height: 36px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }
  .user_box_lianai {
    background-image: url("/assets/images/qixi/我的@2x.png");
  }
  .user_box_gaobai {
    background-image: url("/assets/images/qixi/告白榜我的@2x.png");
  }

  .messageBox {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;p
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 2;
    .message {
      width: 580px;
      padding: 40px;
      background-color: white;
      border-radius: 10px;
      > p {
        padding: 20px;
        margin-bottom: 0;
        span {
          color: #e014b5;
        }
      }
      > div {
        color: #e014b5;
        text-align: right;
        // height: 80px;
        line-height: 80px;
      }
    }
  }
}
.questionWrap,
.questionWrap1 {
  @extend .wrap;
  position: relative;
  width: 100%;

  img {
    width: 100%;
  }
  .btn_back {
    width: 100px;
    height: 80px;
    position: absolute;
    top: 48px;
    left: 18px;
  }
}
.questionWrap1 {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 120px 50px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  .content_box {
    width: 90%;
    position: relative;
  }
  .ruleDetail {
    font-weight: 400;
    font-size: 26px;
    color: #feffff;
    line-height: 44px;
    padding: 35px;
    position: absolute;
    top: 224px;
    width: 100%;
  }

  .btn_back_bottom {
    width: 100px;
    height: 90px;
    // position: absolute;
    // top: 1230px;
    // left: 329px;
    background-image: url("/assets/images/qixi/关闭@2x.png");
    background-size: contain;
    margin: 30px auto;
  }
  .flower_left {
    width: 100px;
    position: absolute;
    top: 654px;
    left: -100px;
  }
  .flower_right {
    width: 100px;
    height: 486px;
    position: absolute;
    top: 300px;
    right: -100px;
  }
}
